package cn.edu.zut.salarymanagesystem.bean.vo;

import java.util.List;

import cn.edu.zut.salarymanagesystem.bean.pojo.Attendence;

/**
 * <h3>enterprize</h3>
 * @description
 * <p>请求到勤情况包装</p>
 * @author flycan
 * @date 2024-02-03 22:41
 **/
public class AttendanceResult {
    private float totalDays;
    private float totalOvertimeHours;
    private List<Attendence> list;

    public AttendanceResult() {
        this.totalDays = 0f;
        this.totalOvertimeHours = 0f;
        this.list = null;
    }

    public float getTotalDays() {
        return totalDays;
    }

    public void setTotalDays(float totalDays) {
        this.totalDays = totalDays;
    }

    public float getTotalOvertimeHours() {
        return totalOvertimeHours;
    }

    public void setTotalOvertimeHours(float totalOvertimeHours) {
        this.totalOvertimeHours = totalOvertimeHours;
    }

    public List<Attendence> getList() {
        return list;
    }

    public void setList(List<Attendence> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "AttendanceResult{" +
                "totalDays=" + totalDays +
                ", totalOvertimeHours=" + totalOvertimeHours +
                ", list=" + list +
                '}';
    }
}
